package com.food.admin.service;

import com.food.admin.dto.StoreRegisterDetailDto;
import com.food.admin.dto.StoreRegisterListDto;
import com.food.admin.entity.StoreRegister;
import com.baomidou.mybatisplus.extension.service.IService;
import com.food.admin.form.StoreRegisterListForm;
import com.food.admin.form.StoreRegisterRejectForm;
import com.food.admin.form.StoreRegisterIdForm;
import com.food.admin.util.MyPage;

/**
 * <p>
 * 商家注册表 服务类
 * </p>
 *
 * @author 帅得一
 * @since 2023年06月13日
 */
public interface StoreRegisterService extends IService<StoreRegister> {

    MyPage<StoreRegisterListDto> listByPageAndCondition(StoreRegisterListForm form) throws Exception;

    StoreRegisterDetailDto getDetail(StoreRegisterIdForm form);

    void rejectRegister(StoreRegisterRejectForm form) throws Exception;

    void passRegister(StoreRegisterIdForm form) throws Exception;
}
